package top.tangyh.lamp.care.vo.save;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import top.tangyh.basic.base.entity.Entity;

import java.io.Serializable;

/**
 * <p>
 * 表单保存方法VO
 * 护理操作记录表
 * </p>
 *
 * @author zqb
 * @date 2024-07-18 14:10:32
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode
@Builder
@Schema(description = "护理操作记录")
public class BCareRecordSaveVO   implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 项目名称
     */
    @Schema(description = "项目名称")
    @NotEmpty(message = "请填写项目名称")
    @Size(max = 32, message = "项目名称长度不能超过{max}")
    private String itemName;
    /**
     * 项目值
     */
    @Schema(description = "项目值")
    @Size(max = 32, message = "项目值长度不能超过{max}")
    private String itemValue;
    /**
     * 时间轴对应时间
     */
    @Schema(description = "时间轴对应时间")
    @NotNull(message = "请填写时间轴对应时间")
    private Long mappedTime;
    /**
     * 病人识别号
     */
    @Schema(description = "病人识别号")
    @Size(max = 32, message = "病人识别号长度不能超过{max}")
    private String patientIdent;

    /**
     * 住院号
     */
    @Schema(description = "住院号")
    @Size(max = 60, message = "住院号长度不能超过{max}")
    private String hospitalNumber;
    /**
     * 项目id
     */
    @Schema(description = "项目id")
    private Long itemId;
    /**
     * 项目code
     */
    @Schema(description = "项目code")
    @Size(max = 64, message = "项目code长度不能超过{max}")
    private String itemCode;
    /**
     * 是否删除 0否 1是 默认0
     */
    @Schema(description = "是否删除 0否 1是 默认0")
    @NotNull(message = "请填写是否删除 0否 1是 默认0")
    private Integer isDeleted;



}
